/**
* -------------------------------------------------------------
* @author  cl
* @date: 2021-12-28 17:28:05
* @description: 上传文件bind表 service
* -------------------------------------------------------------
* @version 1.0.0
* @Copyright (c) 中科星图-版权所有
*/

package com.geovis.boot.service.demo.file.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.geovis.boot.service.demo.file.entity.File;
import com.geovis.boot.service.demo.file.entity.FileBind;
import org.springframework.core.io.Resource;
import org.springframework.web.multipart.MultipartFile;
import com.geovis.boot.service.demo.file.entity.FileInfo;
import com.geovis.boot.service.demo.file.vo.FileBindVO;
import com.geovis.boot.service.demo.file.vo.FileInfoVO;
import org.springframework.util.StringUtils;

import java.util.List;

/**
 * 上传文件bind表接口
 * @author cl
 */
public interface IFileBindService{

    FileBind getById(String id);

    List<FileBind> getList(String updateBy);

    IPage getByParam(Long pageNum, Long pageSize, String uri, String path);

    boolean saveOrUpdate(FileBind fileBind);

    boolean removeById(String id);

    boolean batchRemoveByIds(String[] ids);

    //sql语句查询
    FileBind selectFileBinds(String id);

    List<String> upload(MultipartFile files[]);

    Resource getTemplateResource();

}
